package com.eastfair.venueservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eastfair.boot.request.PageParams;
import com.eastfair.boot.service.SuperService;
import com.eastfair.venueservice.dto.StorageInfoDTO;
import com.eastfair.venueservice.dto.StorageInfoPageQuery;
import com.eastfair.venueservice.entity.StorageInfo;
import com.eastfair.venueservice.vo.StorageInfoVo;

/**
 * 智慧物流 仓储服务
 *
 * @author Du Xiaobo
 * @date 2023/5/8 18:15
 */
public interface StorageInfoService extends SuperService<StorageInfo> {
    Long saveStorageInfo(StorageInfoDTO dto);

    void updateStorageInfo(StorageInfoDTO dto);

    StorageInfoVo getStorageInfoById(Long id);

    Page<StorageInfoVo> listStorageInfo(PageParams<StorageInfoPageQuery> pageParams);

    Boolean examine(StorageInfoDTO dto);
}
